package models

import (
	"gorm.io/gorm"
	"time"
)

type Comments struct {
	Id        uint           `gorm:"column:id;type:bigint(20);primaryKey;not null;" json:"id"`
	Context   string         `gorm:"column:context;type:varchar(200);not null;" json:"context"`
	CreatedAt time.Time      `gorm:"column:created_at;type:datetime(3);default:NULL;" json:"created_at"`
	DeletedAt gorm.DeletedAt `gorm:"column:deleted_at;type:datetime(3);default:CURRENT_TIMESTAMP(3);" json:"deleted_at"`
	UpdatedAt time.Time      `gorm:"column:updated_at;type:datetime(3);default:CURRENT_TIMESTAMP(3);" json:"updated_at"`
	ZbjId     uint           `gorm:"column:zbj_id;type:bigint(20);default:NULL;" json:"zbj_id"`
}
